C++ Homework Help - Finding Largest and Smallest Integer