Public Boolean isPalindrome(): This method returns true if the elements stored in the list are read the
same forward and backward. For example, the queue: a b d b a is palindrome and the queue a b c d a
is not palindrome. No loop can be used. Must use try/catch. The queue must be restored to its original
state.