solved peak-element