A handy little random value generator.