public int getTurn()
    {
        int count = 0;

        for(int j = 0; j < takenSpaces.length; j++)
        {
	    if(takenSpaces[j] != 0)
	    {
		count++;
	    }
	}
        if(count%2 == 0)
        {
	    return 1;
	}
        else
            return 2;
    }