Change dp2 to dp2r

because it’s recursive, and not really a dp solution