Update pascals-triangle for compatibility with py3k

Changed xrange to range and added a conversion to int in line 11