moved code up so it can be used in loop recur
Merge branch 'master' of github.com:stevemacn/GeneticAlgorithms