Converted HW3.  It doesn't run yet - debugging now.
Changed some default filenames for output files so that they are distinct between homeworks.