Started summarize_tree.c, I believe the is_dir function is finished.  Haven't tested though..