implement LinkedStack, LinkedQueue, ArrayStack and add tests