Add dp.py: DP method output to .txt