Add algorithm for finding longest path in DAG

Add function single_target_longest_path_length_in_dag to algorithms/dag.py
and tests for it.