A simple implementation of cartesian genetic algorithm in Java.