solutions for week 2