Learn Ruby through these codes