Finish part1 - palindrome and word count