Added calculate_max_capacity helper
Added initial_keys, initial_values, and default_value
Fixed bug in has_key learning, renamed to associative