Find Max Element In Array Cpp