Modification of the DDA for elasto-plastic analysis with illustrative generic problems