add gitignore
change tab indent size, following google coding style
http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml