added insert operation to sparse matrix