Let’s utilize a memoization technique to speed up our Fibonacci calculation.

Memoization is an optimization technique used to increase performance by storing the results of expensive function calls and returning the cached result when the same input occurs again.

type Memoized func(int) int
var fibMem Memoized