Task: Program Execution
Input (English): r, 0, 4, 0, d
Output (English): [['r', '0', '4', '0'], ['r', '0', '4', 'd'], ['r', '0', '0', 'd'], ['r', '4', '0', 'd'], ['0', '4', '0', 'd']]