Created the add(E element) method