fixed the damn factorial and started now with DFS