Create Problem C: Pattern Generator.cpp