Added implementation for the Queue, as well as unit tests.