Add get_score routine.
A fix for #22