Add code from exercises in Lesson3 in CS101