My Answer to Assignment 2