Add set.seed so result is reproduciable
Merge pull request #2 from bxshi/dev

Add set.seed so result is reproduciable