Solve problem 45
Solve problem 47
Solve problem 49
clang-format -style=Google everything
Reluctantly take cpplint's advice on passing non-const as pointer