Wrote most of the baseline code needed for genetic algorithm