Added functions, new type, and change array type

add Getinlination and SetInclination Functions add the product type with
default constructor. Also changed the type of the purchases array to
product.
Change functions

changed the purchase function to buy_something function
and edited print function