finished randomizedqueue. Need to write subset.java using stdlib.