Bech32 encoder and decoder library. It was heavily inspired on the reference implementation by Pieter Wuille https://github.com/sipa/bech32/blob/master/ref/python/segwit_addr.py