Task: Program Execution
Input (English): g, I, B
Output (English): [['g', 'I'], ['g', 'B'], ['I', 'B']]