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;
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16