Function to find the cross over point ( the point before which elements are smaller than or equal to x and after which greater than x )
< ? php function findCrossOver ( $ arr , $ low , $ high , $ x ) {