fn _add_module_dir<P>(path: P) -> Result<()>where P: AsRef<Path>,
Add a directory to the simulator to search for modules when running load_module("name").
load_module("name")