Merge pull request #6 from Tobias1087/master

Fixing the examples for Py3 compatibility