Implement a simple queue