Added code to find books left and right of out-of-order book