added search for shortest path to gold