bsearch for int,float,char done