added queue and implementation with josephus problem