Automated Problem generator written in C++ and C#