Fix gcd example.

Here's a less clever, more straightforward implementation, without using the `mod`. I haven't figured the problem with the original implementation yet. It looks pretty interesting. Here's a gist with rearranged test cases: https://gist.github.com/folone/a15e2cdbec19f234507a