Convert list of integers to binary