End of rough first draft of tutorial as well as working code

Signed-off-by: Jean de Klerk <jadekler@gmail.com>