Exam detection added

System can now check which exams are / are not selected, and update the
array appropriately.