Built a method to randomly generate items on a floor.