Algorithm for generating and solving mazes. Uses SFML 2.1