Allow to specify a custom random number generator
Merge pull request #7 from shesek/patch-1

Allow to specify a custom random number generator