Update task_3c.m