a little bug fix and warning
Simple simmulated annealing example.