Write a function that takes in two numbers and returns their greatest common denominator (GCD) Input: 16, 24 Output: 8 Input: 5, 6 Output: 1