I think you might find the `append` and `append_one` methods (on the `Vec` type) useful here.