def chunker(seq, size):
	"""returns non-overlapping chunks of length size for given sequence.
	can be used in a loop -
	A = 'ABCDEFG'
	for group in chunker(A, 2):
		print(group)
	-> 'AB' 'CD' 'EF' 'G'"""
	return (seq[pos:pos + size] for pos in range(0, len(seq), size))