removed the now useless (and much too slow function
getAllSquaresInRow(),...)