Assignment 3 for HMC CS 121