public static boolean hasFullHouse(int[] h) {
        boolean threeOfaKind = false;
        boolean twoOfaKind = false;
        for (int i = 0; i < 13; i++) {
            if (h[i] == 2) {
                twoOfaKind = true;
            }
            if (h[i] == 3) {
                threeOfaKind = true;
            }
        }
        return (twoOfaKind && threeOfaKind);
    }