CS 11 assignment 3