Found a quicker way to do to the power of 2.
Changed to the example key for testing in C.
Refactored the left and right for PC1, and alos added a print bits function.
Added test keys for checking against.