Simple Dynamic and Static Stacks and Queues written in Java