Added gitignore
Makefile updated and some compiler warnings fixed