CSCE 2014 Homework 1 (Extension of Lab 2)