Add simple memoization class.
Problem 15: Lattice paths