cannot insert data into an sqlite3 database using python,db.commit()