ucla cs174c assignment2