Implemented Maze Generation in Javascript.