Completed Swift exercises