Minor: change type name "HerdLocation" to "Location".
The "memoization table" is now integrated into the search. Searches go to the memoization table first, which then uses the R-tree as its underlying search when needed. This will be the baseline version for testing the speed of the memoization table.