test-instances in Python (very experimental)

I liked the idea of Stephane's Go program, so this is my answer in Python. Unfinished (particularly with regards to the output format), but it works.