How to perform 'GCD' in Swift.
// Task: GCD
// Language: Swift
func gcd() {
// Implementation for GCD
var result = ...; // Initialize variable
// TODO: Implement core logic here
// Step 1: Prepare data
// Step 2: Process GCD
print("Done");
}