Added the coin stack concept
First cut a purchase algo