Adding has_path_sum()