Add method to return all student IDs in use

Necessary if we want to be able to remove arbitrary students - we can't
just iterate over the length of the hashmap forever.