Assign Dictionary Value Python Snake