created the product constructor with the parameters of the item name and
cost in pennies