Added README for C code and fixed a few compile error in main.cpp by adding c_str() to string objects so they would be passed correctly.