Add exercises to `functions` section

This is a bit experimental still. The tests can be improved (better
equal, generated tests) but at least it's a start.

Thanks to @naven87 for pushing a bit. :)

Closes #23.
Mention @naven87 at contributors