Added checking the number of walls