Update tutorial documentation and provide an implementation of the examples