find path from one location to another