refactoring genetic_algorithm.rb to fir with tabu_search.rb