I am looking to write a code where if a person buys five things they will get the cheapest item for free, it would have to show the five items and their individual cost rank