Homework2 (Adding a wrapper class of random numbers)