Find the Minimum and Maximum of an Array using Recursion