public int calculateValue(ArrayList<Card> player) {
	if(isStraightFlush(player))
	    return 8;
	else if(isFourOfAKind(player))
	    return 7;
	else if(isFullHouse(player))
	    return 6;
	else if(isFlush(player))
	    return 5;
	else if(isStraight(player))
	    return 4;
	else if(isThreeOfAKind(player))
	    return 3;
	else if(isTwoPair(player))
	    return 2;
	else if(isOnePair(player))
	    return 1;
	else
	    return 0;
    }