Added RandomizedQueue and Subset classes.
Added proper exception catching
Pokraschennya.