add ruby solution to q010