seggregate 0s n 1s