added lesson 4 code
added lesson 4