Added Tarjan LCA implementation

My solution to https://github.com/jgrapht/jgrapht/issues/40