solved hw1 week3