added the main if statement tree to the hand check function should work properly now but it does not currently take into account tiebreak's