added python binding for hand comparison