Python Create Subarray From Array To Hashmap Internal Architecture