Task: Program Execution
Input (English): d, W, 0, 0, D
Output (English): [['d', 'W', '0', '0'], ['d', 'W', '0', 'D'], ['d', 'W', '0', 'D'], ['d', '0', '0', 'D'], ['W', '0', '0', 'D']]