Wrote following functions in Hand: hasNKind, isTwoPair, rankToChar, isFlush