Python script to get answers to a PG file problem.

In the end the easiest approach was just to rely on the checkanswer
functionality and get the answers from the rendered output.