Implemented simulated annealing with simple temperature update rule