Update addDelete.java

cannot get array list to work, but it should work after a simple fix