Stav dette: Difference equations with applications to queues