Add helper function that prints the data of the list.
Add a sample list (1, 2, 3, 4) for testing.