Project Euler solutions, mostly in ruby, mostly horrible.