Unofficial codility solutions written in Swift (Playground)