Switched Makefile from C++11 to C++14 to account for more expressive cbegin/cend and therefore
better optimization possibilities for the compiler.
Also switched ranged loop to std::for_each to account for more idiomatic c++14 style.