add euler question 3 ruby solution