Java implementation of a Queue as part of Assignment 3 for SW Paradigms