working hartree code for H2 molecule