assignment9

most changes are in the comments, some I missed because of trial and
error tunnel vision