Create find-peak-element.cpp

Get the max element of the array