completed lec6 assignments