homework1 solution