Added solution to question 4
Final update
Final update