add ruby solution to q034