Added findLongestPath functionality. findPath should be REALLY fixed now.