added *.o files to .gitignore
fixed bugs in C implementation of Variables