Don't use long type.

int() produces long for large number on Python 2.
Merge pull request #5 from methane/remove-long

Don't use long type.