euler solutions

both javascript and ruby solutions are in the same repo - I hope that's ok
merge