Exercise 4 done.
Solved exercise 5, somehow...