Added the maze loop

Do the loop