finished writing up hw6