Dfs Algorithm Python Program For Prime No