add palindrome judging using channels