Added example program

Added an example program based on a real-world program to access the incremental API, showing how to use it, and handle the responses that we could receive from the API.