threaded program that finds palindromes. full marks.