Assignment 1 Version 2c Solution