parsed purchase time, vendor method for sale.rb passes tests
product method added to sale.rb and passing its tests