Add a testing function to run in the debugger.
Do problem 11 in sort of inelegant Python.