How To Find Max Element From Vector