using six.moves.range
Merge pull request #7 from ContinuumIO/hotfix/ihatepy3

using six.moves.range

Thanks @hhuuggoo