Management of graph arborescence

* Added a LineStringEnity reverse method
* Added a checking Graph arborescence method
* Added a DFS for Graph