Added cache decorator to getting the neighbors of a location.