C++ solution using template metaprogramming.

A C++ solution which uses an integral type parameter to statically determine the correct number of 'o's to be included in the result string.