Implemented getHandRank() and modified quickSort() to sort hands.