python add items to dictionary using for loop