Functions exercises.