hw update

still trying to figure it out. hw 3 and 4 not completely working yet. I
am close on hw 3, (which would make hw 4 easier to do) but forgot how to
go about doing the merge loop