Calculate the score of a single "greed" dice roll with Ruby