Initial implementation of Queues