added c search code, see c_compile.txt for compilation instructions