http://theoryofprogramming.com/2017/12/16/find-pivot-element-sorted-rotated-array/