Add an implementation of Asymetric Numeral Systems (ANS). Change-Id: Ie41bc72127e700887566dcc951da9d83a0b94891