Added initial attempt at dynamic programming style caching.  Only slight performance improvement on basic tsp with current structure.