Adding solutions for the week7 problems