Find The Largest And Smallest Element In An Array