Sparse Matrix Cpp Program