Implementation Of Sparse Matrix Using Arrays In Python