Rename digits of number in linked list to digits of number in linked list.cpp