add dequeue.rb and queue.rb