Functions and Google C++ style guide

C++ style guide via cpplint.py