updated lesson 2 to with fixed C example