merged all examples in one single file
finished chapter 2