Completed part 1 of Chapter 2 excersize