Solve homework2-problem4: Smallest of 3 Numbers