practicing callbacks

programmed map, reduce, filter