new cool and more 'functional' solution for making change