add complete solution to double-base palindromes