Clean up randomInt example

Based on issue #109, the readability of the `randomInt` was a bit confusing.

Adds some comments to better clarify the logic. Made code more CoffeeScript-ish