Swift Programming Language - Sample Code