Implement Sparse Matrix Using Arrays To Solve