My code isn't lighting segments it needs to just random segments

for(count = 0; count<20 && b != digitalRead(button); count++);