random number generation using pure functional state
random number generation using pure functional state
node exports are added