Ruby solution for euler02.
formatting .