Updated to work for Python 3. Added readme.