Assignment 2A Solution