Added license text
Fixing compatibility with Python 3