Implementing an enumeration in the Item class to classify the rarity of
an item.