function loop2
x = 1
count = 0
y = 2;
while y > 1 % first version: x < inf
    count = count + 1
    x = x/2 % first version: x = x*2
    y = 1 + x
end