added dismain.cpp cplusplus implementation and modified README.md for instructions on how to compile the binary