Generate mazes of arbitrary sizes to solve