Moved Connected Components class and test into arrays package
 * [x] Find longest palindrome in string O(n)