add Search Magic Index solution in Cracking the Code Interview Chapter 9 and problem 3