change revers function
change in main class
working isPalindorme function