Rewrote function that determines if a hand has a full house.