Add a more general pyROOT example; Minor changes to code documentation