finish code, maybe testing, for Lesson3