Finished play_dp.rb