a stab at sampling w/ mix of random & blocked #221
clean up code for blocked sampling
change dict syntax
Merge pull request #311 from datamade/sampling

Sampling