Added binary_gcd method and some optimizations