Python Define Variables From Array To Hashmap