road(burr, First), road(First, Second), Second \= burr, format('~w can be visited in two hops from burr through ~w.\n', [Second, First]), fail.
hardwick can be visited in two hops from burr through newton.
hallsburg can be visited in two hops from burr through newton.
burlington can be visited in two hops from burr through newton.