Standard solution skeleton for problem 84: Transitive Closure.