Create memory_cache.cxx

using map to cache each call result:like what happened in Scheme stream.
using bind_mem_fn to currying class member call.