Program demonstrated a genetic algorithm.