Added solution to Assignment 2