Implement chapter 6 exercises
Merge branch 'feature/Chapter_6_exercises'