added a JUnit test class and fixed the add function in arrayList (I think) will test more.
actually adding to the arraylist implementation. size now seems to work. iterator is broken, though.