Sparse Matrix Using Array Sqlite3 Python