Implement direction graph. Task 1 performs correctly on single test
case.