overflow and underflow in data structure - Search