add randomization module

* includes simpleSample method and a few private helper functions