Implemented exercise 1a (tinydb)