A second implementation that does half the work; more tests

An improvement to the palindrome example #6 plus a few additional input samples.