The function append_to should take an element and an optional list, append the element to it, and return the result.
When called without a second argument, it should always start fresh with an empty list.
But something strange is happening — it seems to remember values between calls. How?