append key and value to empty dictionary python