CS162 Assignment 2 for K. Fant