Use the db map as a function to look up the key grade
Add pupils with update-in to reduce duplication.

Takes advantage of (vec nil) => [] to initialise the list of names if
the db does not already contain an entry for the given grade.