Added makefile and additional .gitignore rules, small change

Added makefile and additional .gitignore rules, small change and also swapped 0/1 for false/true to make it a bit more standard C++.