Reverse Bits Leetcode Solution