update git ignore
add build for c lib
add initial implementation of c lib
add test for c lib using ruby wrapper