One dimensional game of life - handling bit arrays