Ruby problems from Learn to Program / Project Euler / etc.