finished the sqlite database exercise