Python Loop Over Array Of Pointers To Structs