Single LinkedList reverse iteratively and palindrom checking