Simulator for testing maze solving algorithms