My python solution to the Hacker Rank Changing Bits competition.