public int checkAcross() {
		int found = 0;
		boolean same;
//this function checks all the rows
//it stores the moves performed in a rows
//in an array and checks if they were performed by the same player
		char[] checker = new char[3];
		int x = 0;
		int y = 0;
		
		while((found==0) && (y<3)) {

			for(x=0; x<ROWCOL; x++){
				checker[x] = titato[x][y];
			}

			same = checkSame(checker);
			if(same == true) {
				found = (y+1);
			}
			y++;
		}
		return found;
	}