Adding examples

Adding examples for kodocpp API 
You might want to take another look at our coding style. One space is required after while, for, if and the opening (.
So just make it: "while (!decoder.is_complete())"
This seems to be a common mistake in your examples.