3.14 Append implemented in terms of foldRight