integerFromBitsArray done with help of protocol Initiable and few extensions