Solved some mistakes in the "Randomized Queues and Deques" task.