added qstn7.py