change function score(hand)

From return the max in the tuple to return sum of the tuple.
misunderstood the definition of score