Homework 6 submitted

Almost finished homework 6.  Only part 8 of the last assignment left...
why not just write to the new file in the first place?