Fixed sum bug

Not sure how this has survived, but an integer axis argument has to be
converted to a tuple.
Added a new example script

This is more meaningful than the print_tree.py example, which I am
removing. It operates on chopper.nxs, which is in the example files.
Updated documentation