Removed 3 lines.
Added {} to pred.
bsearch