almost done with assignment 4, needs a little more writeup for Q3