Traffic light queues with dependent arrivals as a generalization to queueing theory