Another tiered genetic algorithm written in Java