Fix reservoir sampling
Merge branch 'java8' of github.com:npryce/snodge into java8