Implement the random() function
Merge pull request #664 from xzyfer/feat/random

Implement the random() function