added getBoardSize.