Moved 'date_ok', 'compare',  'add_node', 'forward' and 'back' functions to tdlist.c