Exercise 1 solved
Exercise 2, solved
Exercise 3, solved
Exercise 4, solved.