Created the fetchEarnedDegree.php file