Hamiltonian class: remove duplicate methods

Some methods where already definied in the mother class.
Added class for non periodic boundary conditions

There is now a class for non periodic boundary conditions for 1D
Hubbard.