solved week2 assignments