Python divide list to batches. Splitting a List into Equally-Sized Chunks in Python.