added randomized queue and bitwise utils