updated some RosettaCode.org tasks and added them to tests