ce121, assignment 2