add tail by c,python,common lisp