add binary search with swift programming language in Practice