Fixed comments
Using defaultdict in make_graph and reverse_graph