Renamed to memoization.cpp to functional.cpp to reflect the changes in the implementation.
Added examples of curried.