completed week 6 lectures and homeworks