refactored stack class and test spec
refactored queue class and test spec
refactored arraylist class and test spec