Implemented longest path algorithm
Updated tests
cleanup