examples: xrange() -> range()

for python3 compatibility (#38)