implemented list_prepend() and list_print()