add palindrome algorithm
add greatest common divisor mata expression algorithm