Corrected bug, prints 0 1 according to sense.