added Dodji's example, added output handling Daniel * doc/examples/*: added Dodji's example, added output handling Daniel