maze generator fixed