Overhauled main - made use of functions introduced in C++ 11 and 14.