Trying to use sage's get_simple_paths method