add link to Google C++ guidelines

and also fix a whitespace error
add gitignore
use 4 spaces and Google C++ style