private static int winner(int[] guesses, int[] rolls, int prize1, int prize2, int prize3) {
		int count = 0;
		for(int i = 0; i < guesses.length; i++){
			if (guesses[i] == rolls[0]){
				count ++;
			}
			if (guesses[i] == rolls[1]){
				count ++;
			}
			if (guesses[i] == rolls[2]){
				count ++;
			}
		}
		if (count==0){
			return 0;
		}
		if (count==1){
			return prize1;
		}
		if (count==2){
			return prize2;
		}
		if (count==3){
			return prize3;
		}
		return 20;
	}