Added solution for week3 task6-7