best way to get the nth element of each tuple from a list of tuples in python,[x[0] for x in G]