Add solution to exercise 4 (day17)
Add solutions to exercises in day17