hw2: problem 3 get started