Reverse Bits Of A Number Leetcode Python