Python Create Dictionary From Array