add ruby solution to q065