added Euler29 in javascript and ruby