Basics of Queueing Theory