I was able to complete this lesson by looking at pass answers from other members and the directions were not very clear. I never had
mask = 0b1 << (n-1)
in my original code. However, after seeing many different people with a similar line of code i knew I was off. I just want to know how they interpreted this from the directions since i couldn't decipher this from the given text.