my project euler attempts, mostly in ruby