Worked out practice coding problems found from various sources.