Append using fold right.