Write the definition of a method min that has two int parameters and returns the smaller.