Implemented the genetic algorithm

-Now to just get it to work...