Fixed some bugs.
Added binary search.
bsearch working now.
Removed garbage output.
Testing framework ready.