Fixed bug of 3x3 boxes in blockposToIndex.

Fixed a bug where I thought all sudoku had 9 boxes. Apperently they have
square root of boardside length.
Added boxSide and xyToBlock.