Creates a new problem template directory with all necessary files.
Copies template files including Config.json, Solution.cpp, Checker.cpp,
Generator.cpp, Validator.cpp, and directory structure.
Parameters
directory: string
Name of directory to create
Returns void
Throws
If directory creation fails
Throws
If template copying fails
Example
// From CLI: polyman new my-problem createTemplateAction('my-problem'); // Creates: my-problem/ with full template structure
Creates a new problem template directory with all necessary files. Copies template files including Config.json, Solution.cpp, Checker.cpp, Generator.cpp, Validator.cpp, and directory structure.