let gcd(a: u32, b: u32): u32 =
  if b == 0 { a }
  else { gcd(b, a % b) }

let main(): i32 = {
  return cast(i32, gcd(48, 18)) -- Should return 6
}