Added solution for exercise 3
Added solution for exercise 4