public int evaluateSurroundingRows(Position position, Token token,
			Map<Position, Token> tokenMap) {
		
		int row = position.getRow();
		int column = position.getColumn();
		Position[] position1 = { new Position(row, column),
				new Position(row + 1, column), new Position(row + 2, column) };
		Position[] position2 = { new Position(row, column),
				new Position(row - 1, column), new Position(row + 1, column) };
		Position[] position3 = { new Position(row, column),
				new Position(row - 2, column), new Position(row - 1, column) };

		if ((token.equals(tokenMap.get(position1[0]))
				&& token.equals(tokenMap.get(position1[1])) && token
					.equals(tokenMap.get(position1[2])))
				|| (token.equals(tokenMap.get(position2[0]))
						&& token.equals(tokenMap.get(position2[1])) && token
							.equals(tokenMap.get(position2[2])))
				|| (token.equals(tokenMap.get(position3[0]))
						&& token.equals(tokenMap.get(position3[1])) && token
							.equals(tokenMap.get(position3[2])))) {

			count++;

		}
		return count;
	}