longest path finder