the sample  code on book  'The Swift Programing Language', I create it for learnning