made c++ version
added useful information to README