Generates mazes using random traversal