Homework 3 Assignment for CS335