Find Smallest Number in Array C++