add ruby solution to q038