Implemented Subset.java