All of the examples use SageMathCell in order to run the code in the browser. Because of this, all of the functions in the package are able to run in SageMathCell. Below is the gcd function which updates with the codebase if there are ever any changes to it.