Finding The Maximum And Minimum