Convert Binary Tuple to Integer