implemented random subset generation

first attempt at random search