created database, then links Python code to SQLite