Recursive Function To Find Smallest Element In Array In Python