Added TomDoc, refactored to  clean up method and extracted code to a private method. Changed to generated numbers less than a certain number instead of a certain number of numbers.