edited order class to make the order list a hash and made it possible to calculate cost