Factor exercise code in a dedicated file.
Add verbatim code written up to now.