basic outline of hw7.
some plots
fixed it - now it works!