add ruby solution to q032