Traffic light queues as a generalization to queueing theory