Chapter 3  Exercise 1

Binary sort with single loop comparison