initial draft of shuffler with some testing code. Strange results.