Add a ratio generator

It's an fmap over a pair of integers.
Merge pull request #20 from fredericksgary/master

Add a ratio generator