a maze in a square