Add exercise script at home to python_hard_learn
Add ex31.py.