Update Hand.java

Fixed a error in a boolean statement in hasNKind() and isTwoPair()