Throwaway implementations of binary search