RandomGenerator still need to modify (inclusive & exclusive condition).

Signed-off-by: Sanjay Madnani <http://sanjaymadnani.wordpress.com/>