Added BFS to CPPNSimulation.

As far as I can tell the idea is ok?