Implement pop() in Queue

- Add JUnit tests