Added random number generator to core\string\Generator

Signed-off-by: Tom Wright <tom@inflatablecookie.com>