Add examples for chapter 5: Generics