add ruby solution to q011