CS152 Assignment 3