Practice problems to flex my ruby muscles.