updated the makefile to compile in c++11 and display all errors
removed debugging code
converted indentation to spaced (google cppguide)
updated the code to fit more into googles coding style
changed the help function to contain less cout statements
updated the outdated int cast to a new cast method