A study of the Hartree-Fock approximation as applied to finite nuclei