add randomization module

* includes simpleSample method and a few private helper functions
add factorial method, rename simpleSample to repeat
Merge pull request #55 from jodeleeuw/randomization

Randomization