added pseudo code final version in lesson 5