Fumbling about with Rosetta Code problems.