Fix xrange for Python 3

scalarmult_B is hot enough that it's probably best to stick with
xrange when in Python 2, so let's make 'xrange' work in Python 3.
Merge pull request #12 from gnprice/master

Fix xrange for Python 3