Visualizing recursion and linked lists