Fixed an error in Board.checkCoords()