Added map, kmap, filter, kfilter functions.