Created a class that generates random items