Added examples for Ch02 5 and 6