Trying a hash table to store num students in exams instead going through all registrations each time