Add ruby solution to euler14.