maze working

only took 5 hrs