allows scorer to check for a win using rows, columns, diagonals