Code example for Queue

Methods: isEmpty, poll