Code for the DB course assignments