Nokia Interview Question

Write a function that returns the GCF of 2 numbers.