Add all_simple_paths functionality