Reverse Bits - Binary - Leetcode 190 - Python