fixed Square.isWhite()