Take input from the user and check's if palindrom