The effect of spherical shells of matter on the Schwarzschild black hole