Add example compilation

Fixes #6 by adding some more documentation and a very dumb but automated way of compiling the example application.