Adding solution for Project Euler problem 8 in ruby