Create homework2 problem1