user definable array and bubble search