use six.text_type for string casting
using new style except statement
removes implicit tuple parameter unpacking
fix print and input statements
fix imports for Python 2 & 3
adding Python 3 classifier