Simple Ruby exercises solving problems from Project Euler.