Add ruby versions and fix indentation in python dice

Hi Jon,

Here are the ruby versions of the python code, plus a small fix in one program.

Anna