Deleted my gcd function as there's one in the standard lib.