add findRotationOfPalindrome.cpp and ten2eight.js