Update print_backwards.cpp