project euler challenges in Swift