Some Project Euler solutions written in Ruby I wrote these to learn how to program, so beware of messy code.