Arrival and step methods added to Queue class.