Create degree_check.py