upload python version of find-peak-element