Added working C++ example program for standard in/out communication