randomSeed function

Sets and resets the .Random.seed in the global environment