Rather than looking at this example project on how to use the SpeedTools library, we now recommend you to have a look at a production-ready project for Mapcode REST ...
This code was originally made to solve the "Longest Increasing subsequance" problem, I got curious about how much of an effect memoization has, and when I found out, I had to share it with you ^_^ :D.