Revised gen_list.c so it worked with the new data structure. Added functions to playlist.c and annotated