Genetic algorithm for pattern recognition course UNO-SPR 2013