Added option for random reward range.  (Fixes #7)