Return GCD of a and b using Euclid's algorithm (while loop).
gcdWhile(12, 8) -> 4
gcdWhile(7, 13) -> 1