const addLast = (element) => { return (arr) => { }; };
Add an element at the back of the array.
Arguments element (any): The e