Implemented binary and interpolation serach