cs230 assignment2