added implementations for coin sums and doubleBasePalindromes