Are you testing with the USB connected? If so you can't use pins 0 and 1 as general purpose IO pins.
Why do you have a loop within a loop? your for loop inside the loop function, but nothing changes between each iteration of your loop, you don't use i anywhere, or increment any values.
Finally what is the benefit of B01000000 >>1? why not just use: B00100000 and not shift?
I still haven't seen any code that does compile.
B01000000 >> 8;