inserts the new record if the list is null
finalize(plistname,predecessor,newpointer)