Function for inputting a required vocab list to database.