Translated function closure exercise.