Added the required solutions for week 6