add ruby solution by hvn