Create courseQuery.py