usaco; update "Palindromic Squares" with more generic palindrome check
usaco; solve "Dual Palindromes" from Chapter 1, Section 2