Syntax changes in Swift/Xcode 6b3

Xcode 6b3 requires a few Swift syntax changes:

- .. to ..<
- T[] to [T]
Merge pull request #7 from iluuu1994/master

Syntax changes in Swift/Xcode 6b3