Library for generating of Monotonic Gray Codes