Added the first two problems done in Swift