added exercises from chapter 5 and 6
modification
added more examples
added chapter 7 lecture
modified examples
modified examples
added an example in scala