Fixed some snippets

In conformance to "The Swift Programming Language" book,
there should be no space after "init" and "subscript".
Merge pull request #5 from chrizel/master

Fixed some snippets