Multitype Branching Processes and Some Queueing Systems