add the Resizing java file to make more implementation in bag, queue, stack.