adding ex24.py