Adding ex31.py