Add skeleton code for programming exercise 8
Add solutions for programming exercise 8