Solve problem 13 using C++.
Run tests for selected languages.
Add test support for Python.