Implemented CanPalindrome.
Implemented NestingCheck.