Sparse Matrix Addition Using Python