Shifting idea over to memoization
Got memoization working...?