The Hartree-Fock method for atoms: A numerical approach