Now, suppose we have a simple map object, m, which maps each value of fib that has already been calculated to its result, and we modify our function to use it and update it.
Agora supoñemos que temos un simple obxecto mapa, m, que garda cada valor de fib que xa foi calculado e modificamos a función para que o use e actualice.