Added Rosetta Code test case.