Task: Program Execution
Input (English): g, 0, K, 1
Output (English): [['g', '0', 'K'], ['g', '0', '1'], ['g', 'K', '1'], ['0', 'K', '1']]