Added the solution to the 'Function cache' kata.