Update (C and Java) gitignore

Update gitignore to properly inclusion of both C and Java classes