Did some booleans checks on duplicates using a swicth statement that compares the first and second duplicates to see if they are pairs, three of a kind etc