Initial commit for C++ ans C# version.