Fix Examples for Python 3