Added solution for week2 task7-8