Ruby solutions for Project Euler questions.