Adds function for finding neighbors
Adds energy-file