I have created the program that functionally works the way it is supposed to but I have to make it recursive and I was told that function void expand() is not c
void expand()