public boolean remove(int target)
	{
		int index;// the location of target in the data array;
		boolean success = false;//added by me;
		for(index = 0; (index < manyItems)&&(target != data[index]); index++);
		//No work is needed in the body of this for-loop
		System.out.print("manyItems = ");
		System.out.print(manyItems);
		System.out.print("  index =");
		System.out.print(index);
		System.out.print("  value of data[index]=");
		System.out.print(data[index]);
		System.out.print("  value of data[manyItems-1]=");
		System.out.println(data[manyItems-1]);
		if(index == manyItems)
		{
			success = false; //return false, finished looking all index of for-loop;
			//means there is not target.
		}
		else
		{
			manyItems--;// 
			data[index] = data[manyItems];
			success = true;
			
		}
		return success;
	}