assignment1 - problem1