This is a repository which has the code for memoized version for spark