- refactored generating an empty maze