problem1

finished problem 1