Finish removeTail.c