Put problem 1 into hw3 file