Return a new array that is list with value appended at the end.
append([1, 2], 3) -> [1, 2, 3]
append([], 7) -> [7]