A simple tournament based genetic algorithm with crossover written in Java.