12. higher oder function example (to be continued)

first 'foldr' impl