add code for comparing two sets of pulls

Hi Roger,

In the end it was a bit tricky to convert to a root macro, so I added as a compiled program. Feel free to skip the pull request if you don't want it added like this.  Otherwise the usage is given by print-pulls --help.

cheers,
Andrew