classified genetic algorithm methods and started unit testing them