it was cool but this should be faster and less confusing.
this is a fork of https://github.com/illuzen/go-negentropy