added rng
Merge pull request #5 from unhaltable/rng

added rng