first draft of maze generator