Add kernel#rand, #srand ,Random#rand, #srand method #1074

Merged
merged 4 commits into from Mar 26, 2013