solutions to week 1