implemented and tested subset solution iterator