Python 3 compat
Python 3 fixes in exercises