Make allPossiblePairs dependent on boardSize

allPossible used to be hardcoded to look only at 3x3 boards. This has
been changed so that it depends on boardSizexboardSize boards so that we
need only change the board's size in one place.
Beginning work on supertictactoe