Solve warmUpExercise.m