adding support for NULL keys
get_values and get_keys now return a Vector instead of a List
adding a foreach function for both keys and values