solutions to week 3 completed