Chapter-2 update

Add examples and exercises