fixed bug in add(int,E) and increment size when a new item is entered that I forgot to put in