Formatting the a part of the source with astyle
Formatting more code with astyle
Formatting more code with astyle
Adding the astyle shell script

Running this script will ensure that the C++ code follows our style guide.