First attempt to learn swift