http://www.dreamincode.net/forums/topic/332738-program-that-determines-the-lagest-and-the-smallest-number/