Genetic algorithm example code for android