creates an array bag with member functions getCurrentSize, isEmpty, isFull, getCapacity, add, remove, clear, getFrequencyOf, contains, vector