adding arraylist spec, implemented stack and queue and priority queue