public void push(T item){
		if(position == tarray.length){
			System.out.println("array size increasing");
			T[] temparray = (T[]) new Object[(tarray.length*2)]; 
			for(int i=0; i<position; i++){
				temparray[i] = tarray[i];
			}
			tarray = temparray;
		}
		tarray[position] = item;
		position++;
	}