python append values to dictionary in loop