Python Iterate Over Byte Array Definition