working maze generation. there are some bugs with the starting location of the ball