Need some help with LED binary counter, not sure if it's hardware or software

Thanks for the tips. I've made the adjustments to the code buy I'm still getting the strobing effect from 1 LED to the next.

The one other thing I should note is there was a comment put in there by the original writer that I left in there but didn't implement that is worth mentioning should this be something on the hardware end of things. They said they used resistors in the circuit. I honestly don't see how this would get multiple LED's to light up at once and prevent the strobing; my education says that would only dim the LED's.

Any ideas?