Added solution for week3 task4-5