Add code from exercises in Lesson 2 in CS101