Added C++ implementation
Also added buidling instructions