allSubsetsOfLength - inefficient version from StackOverflow. seems to break with larger sets too