Palindrom and Wordladder struct.