Added a binary local peak-finding algorithm for 1 dimensional array