Finding Absolute Maximum And Minimum