Task: Program Execution
Input (English): D, q, h
Output (English): [['D', 'q'], ['D', 'h'], ['q', 'h']]