added ruby soln