Added cleanup routines ll_empty_list and ll_free_list