Homework 6 submitted

Almost finished homework 6.  Only part 8 of the last assignment left...
I think the strip() above will have removed the newlines, so you may get one long line from this...