Added Exercise 5.0b and updated the document