So I have a working example but I think it can be done much more efficient with bitwise operators.
What I am doing is: if I have two int's say in bits: 0001 and 0010 (so in python, 1 and 10 so yeah.) Now the result should be: 00000110. So it is 'zipping' it, first digit of int1 and then first digit of int2.
Currently I make arrays of [0,0,0,1] & [0,0,1,0] and then combine them in a loop. And as we know python is not very good at processing lists. Now with this example its ok but bigger numbers (and it should do this very often!) I think its to slow.
Any suggestions ?