Refactored IsFlush and IsStraightFlush