Moved maze generator into its own class