Testing bsearch.
getting segfaults
bsearch working. Performance test still buggy.
better constants.