Update ManacherAlgo.java