list inverse and insert_head