Solutions for week3