Lets call alist beautiful if the first element is equal to its last element, or if the list is empty. Given a list a, my task is to chop off its first and last element until