-finish some dp problems