added important documentation to 'allSquares' function