Test of coding in ruby