Added more examples in doc and in examples/ directory