Finish functions exercises.