completing swift exercises