Added solutions for assignment 7.