ce121, assignment 3