merged Simulated Annealing with Monte Carlo function
method can be choosen with command line arguments