Added Function to Create Dictionary for Adj. States