add ruby solution to q030