iterate through 0 - 7 in binary