Deriving the Schwarzschild solution