More fixes for Python 3 and a bug in the euro2 problem