Caching added.
Code jam 2014 (partial) solutions.