adding colour to terminal output;using more C++11 stuff