https://www.itoosoft.com/ru/blog/creating-randomised-books