got energy calculations working (I think, not yet tested) and also spins are able to be passed from up list to down list