Changed project structure. hartree-fock is now a library, and the subprojects test and example uses the library.