Added restriction to maze size input