exercise_4.m