Remove incorrect 'main function' from example.py