Updated example.py

Changed xrange to range and added a conversion to int in line 11
Merge pull request #66 from ikkebr/patch-2

Update pascals-triangle for compatibility with py3k