[ch5] some tests for core functions
[ch6] adds initial RNG implementation copied from the book
[ch5] rename skip to drop
[ch6] examples plus some tests