how do you insert nodes between nodes in c++ pointers