Sparse Matrix Addition Using Array In Python