Uses Prim's Algorithm to generate a random maze.