Adding Function support

Passing of functions are now possible for methods like map and reduce