putting students in dictionary according to payment date