Writing energies to HDF5 file for different configurations
Reorganized project structure and cleaned up compile warnings