add ruby solution to q001
add ruby solution to q002