Simple genetic algorithm equation solver