TDD'd to create a binary_search algorithm