Add the maze example and some new functions.