/**
 * This function generates a list of complex numbers with the given real and imaginary numbers.
 *
 * @param realNum integer, the real part of complex numbers.
 * @param imaginaryNum integer, the imaginary part of complex numbers.
 * @return List<Pair<Int, Int>> the generated list of complex numbers.
 */
fun generateComplexNumberList(realNum: Int, imaginaryNum: Int): List<Pair<Int, Int>> {

    val complexNumList = mutableListOf<Pair<Int, Int>>()
    for (real in 0 until realNum) {
        for (imag in 0 until imaginaryNum) {
            complexNumList.add(Pair(real, imag))
        }
    }
    return complexNumList
}
/**
 * This function generates a list of complex numbers with the given real and imaginary numbers.
 *
 * @param realNum integer, the real part of complex numbers.
 * @param imaginaryNum integer, the imaginary part of complex numbers.
 * @return List<Pair<Int, Int>> the generated list of complex numbers.
 */
fun generateComplexNumberList(realNum: Int, imaginaryNum: Int): List<Pair<Int, Int>> {
/**
 * This function generates a list of complex numbers with the given real and imaginary numbers.
 *
 * @param realNum integer, the real part of complex numbers.
 * @param imaginaryNum integer, the imaginary part of complex numbers.
 * @return List<Pair<Int, Int>> the generated list of complex numbers.
 */
fun generateComplexNumberList(realNum: Int, imaginaryNum: Int): List<Pair<Int, Int>> {

    val complexNumList = mutableListOf<Pair<Int, Int>>()
    for (real in 0 until realNum) {
        for (imag in 0 until imaginaryNum) {
            complexNumList.add(Pair(real, imag))
        }
    }
    return complexNumList
}