Added num generator.

Added pwm_gen_num(). Generates a random string of numeric characters.