maze generator now works