python for loop integer counter