Functions.
Added excercises.