add chapter5 exercise and test