Solutions for Homework1