Added framework for hashmap function and test for framework function and put in more details for hashmap framework in prettify_exception function, still a work in progress.