xrange -> range in SPG samples for python3
Description of bug
Changes introduced
Changed python syntax in single particle gun samples to use range instead of xrange.
Tests
Ran jOs locally.
Issues resolved
Should fix issues in ATLMCPROD-9928
Closes #