The following is a checklist which provides a summary of the assignment. This is meant only as a supplement; please read the original assignment description.
[Michael 4/7] BIG PROBLEM: My original code had a huge bug in the way it reported the external path lengths. This bug is now fixed. My deepest apologies to all people who compared my numbers to your own. Of course I did warn that my code might not be bug-free! (course I'm getting a 7/10 on my grade this week).
[Michael 4/5] Someone has noticed that the larger input files we gave have many clearly degenerate lines which only intersect the border of the unit square. We have replaced the input files with new data which does not have this issue. (for those who want the originals, they are in the prog7_files directory with suffix .OLD)
[Michael 4/5] Just to reiterate, in a case where many lines separate a query pair, you are only responsible for outputing a single such line (which one is up to you).