Add simulated annealing code

Wrote you a PHP implementation of Simulated Annealing. Also might have found a reference to code that doesn't exist yet, check line 12 of LearningLibrary.php