private int checkCross(int i, int j, Board b)
	{
		int points = 0;
		//ONLY IF "X" IS FOUND   ASSUMING X IS COMPUTER
		if(b.board[i][j].equals("X"))
		{
			if(i==0)
			{
				if(j==0)
				{
					points+=checkConsecutiveX('r',i,j,b);
					points+=checkConsecutiveX('d',i,j,b);
					points+=checkConsecutiveONextToX('r',i,j,b);
					points+=checkConsecutiveONextToX('d',i,j,b);
				}
				else if(j==7)
				{
					points+=checkConsecutiveX('d',i,j,b);
					points+=checkConsecutiveX('l',i,j,b);
					points+=checkConsecutiveONextToX('d',i,j,b);
					points+=checkConsecutiveONextToX('l',i,j,b);
				}
				else
				{
					points+=checkConsecutiveX('r',i,j,b);
					points+=checkConsecutiveX('d',i,j,b);
					points+=checkConsecutiveX('l',i,j,b);
					points+=checkConsecutiveONextToX('r',i,j,b);
					points+=checkConsecutiveONextToX('d',i,j,b);
					points+=checkConsecutiveONextToX('l',i,j,b);
				}
				//points=0;
			}
			else if(i==7)
			{
				if(j==0)
				{
					points+=checkConsecutiveX('u',i,j,b);
					points+=checkConsecutiveX('r',i,j,b);
					points+=checkConsecutiveONextToX('u',i,j,b);
					points+=checkConsecutiveONextToX('r',i,j,b);
				}
				else if(j==7)
				{
					points+=checkConsecutiveX('u',i,j,b);
					points+=checkConsecutiveX('l',i,j,b);
					points+=checkConsecutiveONextToX('u',i,j,b);
					points+=checkConsecutiveONextToX('l',i,j,b);
				}
				else
				{
					points+=checkConsecutiveX('u',i,j,b);
					points+=checkConsecutiveX('r',i,j,b);
					points+=checkConsecutiveX('l',i,j,b);
					points+=checkConsecutiveONextToX('u',i,j,b);
					points+=checkConsecutiveONextToX('r',i,j,b);
					points+=checkConsecutiveONextToX('l',i,j,b);
				}
				//points=0;
			}
			//i = 1 ---> 6
			else
			{
				if(j==0)
				{
					points+=checkConsecutiveX('u',i,j,b);
					points+=checkConsecutiveX('r',i,j,b);
					points+=checkConsecutiveX('d',i,j,b);
					points+=checkConsecutiveONextToX('u',i,j,b);
					points+=checkConsecutiveONextToX('r',i,j,b);
					points+=checkConsecutiveONextToX('d',i,j,b);
				}
				else if(j==7)
				{
					points+=checkConsecutiveX('u',i,j,b);
					points+=checkConsecutiveX('d',i,j,b);
					points+=checkConsecutiveX('l',i,j,b);
					points+=checkConsecutiveONextToX('u',i,j,b);
					points+=checkConsecutiveONextToX('d',i,j,b);
					points+=checkConsecutiveONextToX('l',i,j,b);
				}
				else
				{
					points+=checkConsecutiveX('u',i,j,b);
					points+=checkConsecutiveX('r',i,j,b);
					points+=checkConsecutiveX('d',i,j,b);
					points+=checkConsecutiveX('l',i,j,b);
					points+=checkConsecutiveONextToX('u',i,j,b);
					points+=checkConsecutiveONextToX('r',i,j,b);
					points+=checkConsecutiveONextToX('d',i,j,b);
					points+=checkConsecutiveONextToX('l',i,j,b);
				}
				//points=0;
			}
		}
		return points;
	}