Added explanation for memoize and higher order functions. Please fix typos as well as grammer.