CS716 midterm past papers