Made some changes in the hashmap implementations. Made new and with_capacity, and put them aside (might be called below) the other functions as well