Updated syntax for Swift Beta 3

Arrays definition: T[] => [T]
.. enumeration: .. => ..<

Something is still wrong with "sortBy" and "anagramComparer". Not sure why at a first sight
Merge pull request #2 from mseri/patch-1

Updated syntax for Swift Beta 3