add the main implementation Bag.java, Queue.java, Stack.java