Elias Gamma encoding.
GCD without using * / %