Swift: 003

Runs in less than a second compiled, takes quite a while as a playground