reconstruct_path returns path to go