added test file
convert readme to markdown
delete old readme
renamed chain length to order
renamed vars
translated to english and updated style to conform to airbnb js guide
use lastPos to avoid repeated calculations and improve readability
added options
removed debug prints
formatting
formatting
added random state init
shorten line