Python Create Binary String To Integer