a ruby command line output to print the pricelist by amount