COS 126 Assignment 2