SICP Exercise 1.21: Smallest Divisor