General idea of SA

Started implementing the Simulated Annealing algorithm. Also restructured the data structures and classes.