Added LCA finder that works on DAGs, not just trees. Algorithm naive,
but effective.