TwoBasePalindromes - java
GaussianIntegers - scala